src: Port to new OstreeAsyncProgress atomic API
authorPhilip Withnall <withnall@endlessm.com>
Fri, 28 Apr 2017 15:24:00 +0000 (16:24 +0100)
committerAtomic Bot <atomic-devel@projectatomic.io>
Sat, 29 Apr 2017 11:50:15 +0000 (11:50 +0000)
commitcdf876101be1b61202489c40c8f5b2749a02577d
treeae1c2189e1e701b2d3f928c03861cad1337b3732
parentc27b66de80ee09077b770b8059a15e5c541e70e3
src: Port to new OstreeAsyncProgress atomic API

This will eliminate most of the potential races in progress reporting.
ostree_repo_pull_default_console_progress_changed() still calls three
getters, so there may still be races there, however.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
Closes: #819
Approved by: cgwalters
src/libostree/ostree-repo-pull.c
src/libostree/ostree-repo.c
src/ostree/ot-builtin-pull.c